package com.srit.recipes.service;

import com.srit.recipes.common.response.JpaPage;
import com.srit.recipes.entity.ProcurementDetailInfo;
import com.srit.recipes.entity.WeekRecipes;

import javax.servlet.http.HttpServletResponse;
import java.io.UnsupportedEncodingException;

public interface ProcurementService {
    Object createProcurement(int id);

    Object procurementDetail(ProcurementDetailInfo procurementDetailInfo, JpaPage jpaPage);

    Object procurementDelete(int id);

    Object updateProcurement(ProcurementDetailInfo procurementDetailInfo);

    Object procurementDetailDelete(int id);

    Object recipesProcurementList(JpaPage jpaPage);

    Object submitProcurementExamine(int id);

    Object procurementExamine(WeekRecipes weekRecipes);

    Object procurementExport(ProcurementDetailInfo procurementDetailInfo, HttpServletResponse response) throws Exception;
}
